package com.wuxianbei.wuxianbei.service;

import com.wuxianbei.wuxianbei.pojo.Team;

import java.util.List;

public interface TeamService {
    List<Team> all();

    void delete(String leaderNumber);

    void add(Team team);

    List<Team> list(String leaderNumber);

    List<Team> searchByTopic(String val);

    List<Team> searchByTName(String val);

    List<Team> searchByLeName(String val);

    List<Team> searchByLeNumber(String val);

    void topic(String leaderNumber, String topic);
}
